package com.wushi;

import com.wushi.model.WxNews;
import com.wushi.service.WxNewsService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @ClassName TestOrm
 * @Deacription TODO
 * @Author wushumin
 * @Date 2020/6/4 9:06
 * @Version 1.0
 **/
public class TestOrm {

    public static void main(String[] args) {
        WxNewsService wxNewsService=new WxNewsService();
        WxNews wxNews = wxNewsService.queryNews(2L);
        System.out.println(wxNews);
    }
}
